package com.synnex.mobile.servier.core.survey.dao;

import com.synnex.mobile.servier.core.survey.dto.Survey;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: kerryf
 * Date: 13-8-9
 * To change this template use File | Settings | File Templates.
 */
public interface SurveyDao {

    List<Survey> listSurvey(Integer qid);

    void addSurvey(Survey dto);

    void editSurvey(Survey dto);

    void deleteSurveyById(Integer id);

    Survey getSurveyById(Integer id);


    void deleteSurvey(Survey survey);
}
